package com.hzsd.zengbanyi.biaodan_text.utils;


import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;

import com.hzsd.zengbanyi.biaodan_text.bean.WorkDAO;

public class ViewOnClickListener implements OnClickListener{
	private Context context;
	private String taskSceneId;
	private String extendName;
	private String type;
	
	public ViewOnClickListener(Context context,String taskSceneId,String extendName,String type){
		this.context = context;
		this.taskSceneId = taskSceneId;
		this.extendName = extendName;
		this.type = type;
	}

	@Override
	public void onClick(View v) {
		WorkDAO workDAO = new WorkDAO(context);
		workDAO.addFixingAgent(taskSceneId,v.getTag()+"",extendName,type);
	}

}
